package P8.T01;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class T01 {
    public static void main(String[] args) throws IOException {
//        File f=new File("D:\\");
//        System.out.println(f.getTotalSpace()/1024/1024/1024.0);
//        for(File fi:f.listFiles()){
//            if(fi.isDirectory())System.out.println("["+fi.getName()+"]");
//            else System.out.println(fi.getName());
//        }
        FileInputStream fis=new FileInputStream("d:\\aa1.txt");
        byte[] content=fis.readAllBytes();
        fis.close();
        System.out.println(new String(content));
    }
}
